using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using Gammar.Digger.Entity;
using Gammar.Digger.SystemFramework;
namespace Gammar.Digger.IDAL
{
	public interface Icomment_data
	{
		//C
        int Add(comment_dataEntity comment_data);
		
		int AddPartial(comment_dataEntity entity);

        //U
        int Update(comment_dataEntity comment_data);

        int Updatepartial(comment_dataEntity entity, string where);

		int UpdateBycomment_id(comment_dataEntity comment_data);
		
        //D
        int Delete(string where);

        //R
        object GetCell(string cellName, string where);

        comment_dataEntity GetEntity(int primaryKeyId);

        DataTable GetTable(string where);

        SortList<comment_dataEntity> GetList(string strWhere);

        List<comment_dataEntity> GetPartial(string[] selectedFields,string where);

        int Add(comment_dataEntity entity, string tableName);
	}
}

